package Shapes;

import processing.core.PApplet;
import processing.core.PVector;

//Box2D - selecting box
//Ball - environmental impact
//Edge - the link between two processes
//Node - processes
//Flow - the materials flow in the pipeline
//parallelCoordinates - the multi-dimensional choices


public class shape {
		
		float x, y, z;
		
		PApplet parent; // The parent PApplet that we will render ourselves onto
		
		private String name;
		
		public shape(){}

		// Default constructor
		public shape(PApplet p) {
			this.parent = p;
		}
		
		public void setup(float x, float y, float z) {
			this.x = x;
			this.y = y;
			this.z = z;
		}
		
		public void draw(){
			
		}
		
		public void update(){
			
		}
		
		public void pressed() {
			
		}
		
		public void mousePassby(){
			
		}

		public void released(int mousex, int mousey) {
			
		}
		
		public void setName(String name){
			this.name = name;
		}
		
		public boolean isName(String name){
			if(this.name.endsWith(name))
			{
				return true;
			}
			
			return false;
		}
	
		public  String getName(){
			return this.name;
		}
		
}
